<?php
/** @var ProductosController $this */
/** @var Productos $model */
/** @var AweActiveForm $form */
$form = $this->beginWidget('ext.AweCrud.components.AweActiveForm', array(
    'type' => 'horizontal',
    'id' => 'productos-form',
    'enableAjaxValidation' => false,
    'clientOptions' => array('validateOnSubmit' => true, 'validateOnChange' => false,),
    'enableClientValidation' => true,
        ));
?>




<div class="row-fluid">
    <?php echo $form->textFieldRow($model, 'titulo', array('maxlength' => 45)) ?>
</div>

<div class="row-fluid">
    <?php echo $form->textFieldRow($model, 'descripcion', array('maxlength' => 360)) ?>

</div>

<div class="row-fluid">
    <?php echo $form->textFieldRow($model, 'precio', array('maxlength' => 10)) ?>
</div>

<div class="row-fluid">
    <?php echo $form->textFieldRow($model, 'cantidad') ?>
</div>

<center>
    <div class="span12">
        <?php
//        $this->widget('bootstrap.widgets.TbButton', array(
//            'buttonType' => 'submit',
//            'type' => 'primary',
//            'label' => $model->isNewRecord ? Yii::t('AweCrud.app', 'Create') : Yii::t('AweCrud.app', 'Save'),
//        ));
//        ?>
        <?php
//        $this->widget('bootstrap.widgets.TbButton', array(
//            //'buttonType'=>'submit',
//            'label' => Yii::t('AweCrud.app', 'Cancel'),
//            'htmlOptions' => array('onclick' => 'javascript:history.go(-1)')
//        ));
//        ?>
    </div>

    <?php $this->endWidget(); ?>
</center>

